import instance from '@/utils/request'

// 班级数据分页
export const clazzPage = (form) => instance.post('clazzs/page', form)


//新增 编辑
export const insert_edit_clazz = (form) => instance.post('clazzs/insert/edit', form)


// 获取一个
export const clazz_one = (id) => instance.get('clazzs/one/' + id)


// 删除班级
export const clazz_delete = (id) => instance.get('clazzs/delete/' + id)

// 班级列表
export const clazzList = () => instance.get('clazzs/list')

